﻿from django.urls import path
from . import  views
from rest_framework.routers import DefaultRouter
from . import views

app_name = 'absent'

router = DefaultRouter(trailing_slash=False)
router.register('absent', views.AbsentViewSet, basename='absent')


#GET /absent
#POST /absent
urlpatterns = [
    path('type', views.AbsentTypeView.as_view(), name='absent_type'),
    path('responder', views.ResponderView.as_view(), name='responder'),
  ] + router.urls
